<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="/lib/echarts.min.js"></script>
</head>

<body>
  <div id="main" style="height: 600px;width: 100%;"></div>
  <script>
    /*
      1. 数据回来之前,显示加载动画
      mCharts.showLoading()
      2. 隐藏动画
      mCharts.hideLoading()
    */
  </script>
</body>

</html>